﻿using UnityEngine;
using System.Collections;
using UnityEditor;
public class ValueEventEditorTool{
	public static void ShowEventFloat(FloatEvent value,string lab= ""){
		EditorGUILayout.BeginVertical ("box");
		value.enable = EditorGUILayout.Toggle (lab+"开关", value.enable);
		value.Start = EditorGUILayout.FloatField (lab+"插值开始", value.Start);
		value.End = EditorGUILayout.FloatField (lab+"插值结束", value.End);
		EditorGUILayout.EndVertical ();
	}
}
